renderborder: Make simple border case more obvious
authorTimm Bäder <mail@baedert.org>
Wed, 29 Jan 2020 09:40:10 +0000 (10:40 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2020 18:15:59 +0000 (13:15 -0500)
commitb1d64a6b3a6d16904104772e3a86294897acf41b
tree3680ec5ed9358831e3e3f1a4e1cc6370dc8c46b1
parent60095ade9b1bdb761ebe2ac260b9ca3be543768e
renderborder: Make simple border case more obvious

When reaching this point, it is impossible that all border styles are
HIDDEN or NONE, but up to 3 of them can still be that style. In any
case, the "none or solid" border style is the most common on there is,
so try to make this simpler here by just appending a border node
directly instead of going through the snapshot_border path.
gtk/gtkrenderborder.c